package com.shelpe.services.sinbad.service.simbaproxy;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.shelpe.services.sinbad.dto.RptKeywordsDto;

@FeignClient(name = "${feign.simbasync.serviceID}", url = "${feign.simbasync.url}")
@RequestMapping(value = "/simbasync")
public interface SyncClient {

	@RequestMapping(method = RequestMethod.GET, path = "/tenants/{user_id}/adgroups/{adgroup_id}/@keywordscore", consumes = "application/json;charset=UTF-8")
	public RptKeywordsDto synckeywordScore(@PathVariable("user_id") long userID,
			@PathVariable("adgroup_id") long adgroupID);

}
